using System;
using System.Collections.Generic;
using System.Text;

namespace Cobalt75.GreyMatter.TesterTypes
{

    [
    GMTable(
        TableName = "contactdetails",
        TableID="CONDET",
        Priority = 35
        )
    ]
    public class ContactDetail : GMTable
    {
        public ContactDetail(GMCommunicator com)
            : base(com)
        {
        }

        [GMColumn]
        private string pName;
        public string Name
        {
            get
            {
                return pName;
            }
            set
            {
                pName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pTitle;
        public string Title
        {
            get
            {
                return pTitle;
            }
            set
            {
                pTitle = value;
                Changed();
            }
        }

        [GMColumn]
        private string pFirstName;
        public string FirstName
        {
            get
            {
                return pFirstName;
            }
            set
            {
                pFirstName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pMiddleNames;
        public string MiddleNames
        {
            get
            {
                return pMiddleNames;
            }
            set
            {
                pMiddleNames = value;
                Changed();
            }
        }

        [GMColumn]
        private string pLastName;
        public string LastName
        {
            get
            {
                return pLastName;
            }
            set
            {
                pLastName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pOrganisationName;
        public string OrganisationName
        {
            get
            {
                return pOrganisationName;
            }
            set
            {
                pOrganisationName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pDepartmentName;
        public string DepartmentName
        {
            get
            {
                return pDepartmentName;
            }
            set
            {
                pDepartmentName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pSubBuildingName;
        public string SubBuildingName
        {
            get
            {
                return pSubBuildingName;
            }
            set
            {
                pSubBuildingName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pBuildingName;
        public string BuildingName
        {
            get
            {
                return pBuildingName;
            }
            set
            {
                pBuildingName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pBuildingNumber;
        public string BuildingNumber
        {
            get
            {
                return pBuildingNumber;
            }
            set
            {
                pBuildingNumber = value;
                Changed();
            }
        }

        [GMColumn]
        private string pDependentThoroughfareName;
        public string DependentThoroughfareName
        {
            get
            {
                return pDependentThoroughfareName;
            }
            set
            {
                pDependentThoroughfareName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pDependentThoroughfareDescriptor;
        public string DependentThoroughfareDescriptor
        {
            get
            {
                return pDependentThoroughfareDescriptor;
            }
            set
            {
                pDependentThoroughfareDescriptor = value;
                Changed();
            }
        }

        [GMColumn]
        private string pThoroughfareName;
        public string ThoroughfareName
        {
            get
            {
                return pThoroughfareName;
            }
            set
            {
                pThoroughfareName = value;
                Changed();
            }
        }

        [GMColumn]
        private string pThoroughfareDescriptor;
        public string ThoroughfareDescriptor
        {
            get
            {
                return pThoroughfareDescriptor;
            }
            set
            {
                pThoroughfareDescriptor = value;
                Changed();
            }
        }

        [GMColumn]
        private string pDoubleDependentLocality;
        public string DoubleDependentLocality
        {
            get
            {
                return pDoubleDependentLocality;
            }
            set
            {
                pDoubleDependentLocality = value;
                Changed();
            }
        }

        [GMColumn]
        private string pDependentLocality;
        public string DependentLocality
        {
            get
            {
                return pDependentLocality;
            }
            set
            {
                pDependentLocality = value;
                Changed();
            }
        }

        [GMColumn]
        private string pPostTown;
        public string PostTown
        {
            get
            {
                return pPostTown;
            }
            set
            {
                pPostTown = value;
                Changed();
            }
        }

        [GMColumn]
        private string pCounty;
        public string County
        {
            get
            {
                return pCounty;
            }
            set
            {
                pCounty = value;
                Changed();
            }
        }

        [GMColumn]
        private string pPostcode;
        public string Postcode
        {
            get
            {
                return pPostcode;
            }
            set
            {
                pPostcode = value;
                Changed();
            }
        }

        [GMColumn]
        private string pPOBox;
        public string POBox
        {
            get
            {
                return pPOBox;
            }
            set
            {
                pPOBox = value;
                Changed();
            }
        }

        [GMColumn]
        private string pCountry;
        public string Country
        {
            get
            {
                return pCountry;
            }
            set
            {
                pCountry = value;
                Changed();
            }
        }





    }
}
